package org.os.framework.crypto.model;

/**
 * 交换机
 * 
 * @author
 */
public interface Exchange {

    /**
     * 协商密钥
     * 
     * @param publicKey
     * @return
     */
    public String confer(String publicKey);

    /**
     * 共享密钥
     * 
     * @param publicKey
     * @return
     */
    public String share(String publicKey);

}
